ContextSafelyExceptionHandler

class ContextSafelyExceptionHandler(handler: ExceptionHandler<Unit>) : CoroutineContext.Element

ExceptionHandler wrapper which was created to make possible to use handler across all coroutines calls

See also

Constructors

Link copied to clipboard
fun ContextSafelyExceptionHandler(handler: ExceptionHandler<Unit>)

Functions

Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext

Properties

Link copied to clipboard
val handler: ExceptionHandler<Unit>
Link copied to clipboard
open override val key: CoroutineContext.Key<*>